//
//  TimeFunctions.h
//  LoveLive
//
//  Created by 穆相臣 on 6/16/16.
//  Copyright © 2016 穆相臣. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface TimeFunctions : NSObject

+(NSString *)timeWithData:(NSDictionary *)data;

+(NSString *)normalTimeWithData:(NSDictionary *)data;

+(NSString *)leanCloudDate:(NSDate *)date;

+(NSDate *)dateWithData:(NSDictionary *)data;

+(NSString *)shortTimeWithData:(NSNumber *)data;

+(NSString *)lastUpdateTimeToday;

+(NSDate *)dateAddYear:(int)year Month:(int)month Day:(int)day hour:(int)hour withData:(NSDate *)date;

+(NSString *)ymdDate:(NSDate *)date;


@end
